using System;
using System.Collections.Generic;
using System.Text;

namespace MspEmulator
{
    class makeInit : ISend, IMakeInit
    {
        public void Send()
        {
            Serial.Send(Utility.buildPack(Utility.collectData((byte)Utility.functCode.Init)));
        }

        #region IMakeInit Members

        public void Make()
        {
            Commander.Init();
            //Serial.Send(Utility.buildPack(Utility.collectData((byte)Utility.replyesAsync.inited)));
            //Commander.Realize(new sendInited());
            Commander.Realize(new sendVacuumReady());
        }

        #endregion
    }
}
